package com.myhome.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.myhome.domain.TurnoverOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
*@Author QYiXin 
* @Date 2021 11 01 17 20
**/
public interface TurnoverOrderService extends IService<TurnoverOrder>{


        List<TurnoverOrder> findBySymbol(String symbol);

    Page<TurnoverOrder> findByPage(Page<TurnoverOrder> page, Long userId, String symbol, Integer type);

    List<TurnoverOrder> getBuyTurnoverOrder(Long id, Long userId);

    List<TurnoverOrder> getSellTurnoverOrder(Long id, Long userId);
}
